<?php
if($loggedin)
{
$ds = mysql_fetch_array(safe_query("SELECT * FROM ".PREFIX."user WHERE userID='".$userID."'"));
eval ("\$loginform = \"".gettemplate("sc_logged")."\";");
echo $loginform;
}
else
{
$_SESSION['ws_sessiontest'] = true;
eval ("\$loginform = \"".gettemplate("sc_login")."\";");
echo $loginform;

}

?>